import request from '@/utils/request'

// 查询会议用户列表
export function listMeetUser(query) {
  return request({
    url: '/meetUser',
    method: 'get',
    params: query
  })
}

// 查询会议用户详细
export function getMeetUser(id) {
  return request({
    url: '/meetUser/' + id,
    method: 'get'
  })
}

// 新增会议用户
export function addMeetUser(data) {
  return request({
    url: '/meetUser',
    method: 'post',
    data: data
  })
}

// 修改会议用户
export function updateMeetUser(data) {
  return request({
    url: '/meetUser',
    method: 'put',
    data: data
  })
}

// 删除会议用户
export function delMeetUser(id) {
  return request({
    url: '/meetUser/' + id,
    method: 'delete'
  })
}

// 批量签到会议用户
export function batchSignIn(data) {
  return request({
    url: '/meetUser/batchSignIn',
    method: 'post',
    data: data
  })
}
